package com.itheima.day05.producer;


import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LogProducer {

    @Autowired
    private RabbitTemplate rabbitTemplate;

    public void sendLog(String level, String message) {
        //TODO 发送消息
    }
}